//
//  LTRingEcgDrawHistoryView.h
//  CareRingApp
//
//  Created by Linktop on 2024/4/11.
//

#import <UIKit/UIKit.h>
#import <QMUIKit/QMUIKit.h>
#import <Masonry/Masonry.h>
#import "ConfigModel.h"
#import "CAEcgRecord.h"
#import "LTHmEcgGridView.h"
#import "LTRingEcgDrawLineView.h"

NS_ASSUME_NONNULL_BEGIN

@interface CARingEcgDrawHistoryView : UIView

@property(strong, nonatomic)CAEcgRecord *ecgRecord;

@property(strong, nonatomic)UIScrollView *contentScrollView;

@property(strong, nonatomic) LTHmEcgGridView *gridView;
@property(strong, nonatomic) LTRingEcgDrawLineView *drawLineView;
@property(assign, nonatomic)BOOL showSeconds;


-(void)setHorizonalSpeed:(HORIZONTAL_SPEED)speedType VertialGain:(VERTIAL_GAIN)vGain;

-(void)setEcgLineColor:(UIColor *)ecgLineColor;
-(void)drawAllData:(NSArray<NSNumber *> *)allData;

-(void)reset;


@end

NS_ASSUME_NONNULL_END
